import Vue from 'vue'
import Vuex from 'vuex'
import createPersistedState from 'vuex-persistedstate'
import token from './modules/token'
Vue.use(Vuex)
export default new Vuex.Store({
    modules: {
        token,
    },
    plugins: [createPersistedState({
        storage: window.sessionStorage
    })]
})
